package com.zhou.bpm.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author: zhoujinchuan
 * @Description: TODO（请添加描述）
 *
 * @CreateTime: 2023/10/25 10:28
 */
@Data
@ApiModel(description = "流程节点添加对象")
public class BpmNodeDto {

    @ApiModelProperty("流程编码")
    @NotBlank(message = "流程编码不能为空")
    private String processCode;

    @ApiModelProperty("节点编码")
    @NotBlank(message = "节点编码不能为空")
    private String nodeCode;

    @ApiModelProperty("节点名称")
    @NotBlank(message = "节点名称不能为空")
    private String nodeName;

    @ApiModelProperty("节点排序号")
    @NotNull(message = "节点排序号不能为空")
    private Integer orderNum;

    @ApiModelProperty("审批类型（1-会签审批，2-抢签审批）")
    @NotBlank(message = "审批类型不能为空")
    private String approveType;

}
